//
//  GenesisView.h
//  GC_OC
//
//  Created by 曾 on 2022/1/17.
//

#import <UIKit/UIKit.h>

@protocol SelectGenesisViewDelegate <NSObject>
-(void)upDateGenesisUIWithTitle:(NSString *_Nullable)title;
@end
NS_ASSUME_NONNULL_BEGIN

@interface GenesisView : UIView
@property (nonatomic, strong)NSString* idString;
-(void)upDateIDStr:(NSString*)idString;
-(instancetype)initWithDelegate:(id<SelectGenesisViewDelegate>)myDelegate;
-(instancetype)initWithArray:(NSArray *)array delegate:(id<SelectGenesisViewDelegate>)delegate;
-(void)upDateUI;
-(void)clearArr;

- (BOOL)checkAndPlayFirst;
- (void)updateCurrentWith:(NSDictionary *)dic;
@end

NS_ASSUME_NONNULL_END
